package com.jd;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;


@SpringBootApplication
//@EnableAutoConfiguration 自动配置
//@ComponentScan 扫描当前包及其子类包
@MapperScan("com.jd.*.mapper")
// 扫描监听器的包
@ServletComponentScan(value = {"com.jd.system.listener"})
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
